package cms.common;

import java.util.List;

/**
 * 功能描述：分页辅助类
 *
 * @Author: 余辉
 * @Date: 2021/4/5 11:24
 */
public class PageData<T> {
    private Integer page;
    private Integer pageSize;
    private Integer pageCount;
    private Integer pageNum;
    private List<T> lis;

    public PageData() {
    }

    public PageData(Integer page, Integer pageSize, Integer pageCount, Integer pageNum, List<T> lis) {
        this.page = page;
        this.pageSize = pageSize;
        this.pageCount = pageCount;
        this.pageNum = pageNum;
        this.lis = lis;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public List<T> getLis() {
        return lis;
    }

    public void setLis(List<T> lis) {
        this.lis = lis;
    }
}
